home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / games_de / devil21f.zip / DEVIL.ZIP / DEVIL21 / CONFIG / RUN.BAT < prev   
DOS Batch File  |  1996-03-31  |  895b  |  32 lines

  1. @echo off
  2. if exist config\cfg.bat call config\cfg.bat
  3. rem This is for fast key moving
  4. mode CON: Rate=28 Delay=1
  5. config\d %1 %2 %3
  6. if errorlevel 1 goto done
  7. :loop
  8. %DESCENTDRIVE%:
  9. cd %DESCENTPATH%
  10. call %DESCENTSTART%
  11. %DEVILDRIVE%:
  12. cd %DEVILPATH%
  13. config\d /NOTITLE
  14. if not errorlevel 1 goto loop
  15. :done
  16. if not errorlevel 2 goto ok
  17. echo Devil ended with an error. Here's the file devil.err:
  18. type devil.err |more
  19. if exist config\last.cfg del >nul config\last.cfg
  20. :ok
  21. if not exist %MISSIONPATH%\tmpdevil.msn goto no_d1_files
  22. del %MISSIONPATH%\tmpdevil.msn >nul
  23. del config\*.rdl >nul 
  24. :no_d1_files 
  25. if not exist %MISSIONPATH%\tmpdevil.mn2 goto no_d2_files
  26. del %MISSIONPATH%\tmpdevil.mn2 >nul
  27. del config\*.rl2 >nul
  28. :no_d2_files
  29. if exist %MISSIONPATH%\tmpdevil.hog del %MISSIONPATH%\tmpdevil.hog >nul
  30. rem This is that you can type in the normal way
  31. mode CON: Rate=21 Delay=2
  32.